(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

STDR Simulator setup

Description: Describes how to download and build STDR Simulator

Tutorial Level: BEGINNER

Next Tutorial: stdr_simulator/Tutorials/Installation of STDR Simulator in Groovy

There are two options for installing the STDR Simulator. If you are running Ubuntu Linux or Linux Mint, you can install the pre-built apt packages. This is the easier method.

Alternately, you can build STDR simulator from source code downloaded from GitHub.

Get STDR Simulator from apt packages

sudo apt-get install ros-$ROS_DISTRO-stdr-simulator

Get STDR Simulator from Github

stdr_simulator is a catkin package, so you will need a catkin workspace in order to build the package from source. If you don't already have a catkin workspace, you will find details in this ros tutorial.

Clone the repository, install necessary dependencies and build the simulator:

cd <your_catkin_ws>/src
git clone https://github.com/stdr-simulator-ros-pkg/stdr_simulator.git
cd ..
rosdep install --from-paths src --ignore-src --rosdistro $ROS_DISTRO
catkin_make

# after a successful build
source <your_catkin_ws>/devel/setup.bash

NOTE: on Ubuntu 13.04 (raring), where Qt5 is installed by default, you need to specify the path to qmake-qt4 when you invoke catkin_make:

catkin_make -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4

Wiki: stdr_simulator/Tutorials/Set up STDR Simulator (last edited 2020-04-22 17:24:58 by GvdHoorn)